fix(deps): update rust crate glib-sys to 0.18 - autoclosed #695
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16
->0.18
Release Notes
gtk-rs/gtk-rs-core (glib-sys)
v0.18.0
Compare Source
What's Changed
IntoStrV
impls by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/977WeakRef
andSendWeakRef
useable with theProperties
derive macro by @RealKC in https://github.com/gtk-rs/gtk-rs-core/pull/985NULL
tog_list_store_find_with_equal_func_full()
by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1015IntoGStr
impl forString
by simply appending a NUL-byte by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1016as_ptr
implementation by @mbiggio in https://github.com/gtk-rs/gtk-rs-core/pull/1026IntoGStr
forString
when capacity allows by @jf2048 in https://github.com/gtk-rs/gtk-rs-core/pull/1034IntoStrV
slice by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1037Path
/PathBuf
inglib::Value
s by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/1071use_derived_properties
macro by @yuraiz in https://github.com/gtk-rs/gtk-rs-core/pull/1127--generate-link-to-definition
option when generating documentation by @GuillaumeGomez in https://github.com/gtk-rs/gtk-rs-core/pull/1131New Contributors
Full Changelog: gtk-rs/gtk-rs-core@0.17.0...0.18.0
v0.17.10
Compare Source
Ben Kimock:
Benji Smith:
Bilal Elmoussaoui:
v1_52
Fina Wilke:
construct_only
propertiesconstruct_only
attributeJan Alexander Steffens (heftig):
ptr::offset/offset_from
for private/impl offsetMaximiliano Sandoval R:
From
for constantGStr
slicesSebastian Dröge:
v0.17.4
Compare Source
Bilal Elmoussaoui:
Jason Francis:
From<GStringPtr>
forGString
SeaDve:
ToValue::to_value
ValueDelegate
StaticType
,FromValue
,ToValue
,HasParamSpec
forBox<str>
Sebastian Dröge:
v2_76
featurev0.17.2
Compare Source
Andrey Kutejko:
PartialEq
andPartialOrd
forWeakRef
Bilal Elmoussaoui:
ObjectImpl
vfuncs overridesObjectImpl
Jason Francis:
WatchedObject
forBorrowedObject
Mathieu Duponchelle:
Matteo Biggio:
SimpleAction
: take ownership of value without leaking itPaolo Borelli:
HasParamSpec
forVec<String>
andStrV
HasParamSpec
forSharedBoxed
StrV::join()
methodStrV::contains()
methodSeaDve:
Properties
macro docsSebastian Dröge:
NULL
tog_list_store_find_with_equal_func_full()
v0.17.0
Compare Source
Aaron Erhardt:
Alberto Ruiz:
animation_get_size()
Andrey Kutejko:
Bilal Elmoussaoui:
Make GioFuture
handle infallible futuresFrom
traits forStrV
Guillaume Gomez:
clone!
proc macroclone!
UI testsJason Francis:
impl From<T> for Variant
to move into variantsInto<Variant>
forSettingsExtManual::set
impl From<T> for Value
for manually implemented typesInto<Value>
instead ofToValue
when possibleDatagramBased
writev
methodswritev
in stream impls forio::Write
,AsyncWrite
SourceId::as_raw
spawn
/spawn_local
ThreadPool
push methodsspawn_blocking
#[inline]
to moreGString
trait methodsDisplay for GStr
GStr::to_byte
s toas_bytes
GStr
andGString
constructorsGStr
methodsconst
ToGlibPtr
check interior string nuls in debug modeFrom
implementations forGString
ToGlibPtr
implementations for more string typesGStringBuilder::as_gstr
andAsRef<GStr>
gformat!
for directly formatting into aGString
IntoGStr
traitsGString
to store small inline stringsIntoGStr
GFileDescriptorBased
strcmp
forGStringPtr
comparisonsGStr::from_ptr_checked()
Matteo Biggio:
ToGlibPtr<*mut _>
for boxed typesMaximiliano Sandoval R:
ExitCode
Mițca Dumitru:
g_utf8
APIscompile_resources
Paolo Borelli:
ActionEntry
: take proper types instead of stringsSimpleAction
: take state by valueStrV
for the simple proxy resolver APIStrV
forTlsConnection
reorder_items
StrV
for thefile_info
APIGStr
for the manual extension point implementationStrVItem
toGStrPtr
and make it clonable and transparentkey_file
: returnPtrSlice<GStrPtr>
GStrPtr
toGStringPtr
GStringPtr
: removeimpl AsRef
, provide explicitto_gstr()
andto_str()
as_slice
constFromIterator
forListStore
default = value
attributeListModel::iter()
infallibleSebastian Dröge:
ObjectBuilder::type_
ObjectSubclass::obj()
as a shorter alias forinstance()
g_object_run_dispose()
imp.instance()
toimp.obj()
pango::Language::from_string()
infallibleObjectImpl::set_property()
andproperty()
Language::get_preferred()
v2_76
featureIntoGlibPtr
forOption<T>
function_name!
macro and make use of that forglib::BoolError
From<&GStr>
andFrom<GString>
forCow<GStr>
GStr::from_ptr_lossy()
andGString::from_ptr_lossy()
GStringBuilder
asBoxedInline
to avoid a useless additional heap allocationGStringBuilder
by construction always returns an UTF-8 string and never a NULL pointerGStringBuilder
construction to have fewer function callsPhantomData
asStash::Storage
if nothing has to be stored except for a lifetime&GStr
forToGlibPtr::to_glib_none()
[Type]::to_glib_none()
to not have an additional heap allocationVec
for[T]::to_glib_none()
[T]::to_glib_none()
UserDirectory::NDirectories
enum variantOsStr::to_str()
instead ofOsString::into_string()
to avoid unnecessary heap allocationsas_ptr()
implementation and add new function to borrow values from pointers directlyglib::PtrSlice
API more complete and similar toVec
glib::ObjectRef
g_malloc()
instead ofg_malloc0()
if we initialize the result anywayToGlibPtrFromSlice
impls for shared/boxed/object/boxed-inlineglib::Slice
API more complete and similar toVec
PtrSlice
toSlice
and backglib::SList
andglib::List
API more complete and similar toLinkedList
glib::StrV
forNULL
-terminated string arraysList
/SList
withCopy
typesglib::wrapper!
forBoxedInline
glib::wrapper!
forBoxedInline
with generic parametersFromGlibContainerAsVec
implVec
FFI translation functionsIntoGlibPtr
instead ofto_glib_full()
in more placesIntoGlibPtr
implementation forBoxedInline
ValueArray
pspec element specOption
wrappingValue::from_type_unchecked()
Value::from_type_unchecked()
where applicableIntoGStr
trait in a couple of placesgformat!
macro ifGString
is not in scopeMainContext::spawn_from_within()
for spawning non-Send
futures from another threadParamSpec::is()
helper functionnew()
functions in favour of the builderObjectSubclass::instance()
/from_instance()
in favour of the shorter versionsObjectBuilder
a bit more efficientFrom<&String> for GString
Object
constructors(Async)InitableBuilder
publicGStr
manuallyIntoStrV
in scope forv2_60
tooTimeZone::adjust_time()
instead of ignoring itObject::new_default()
toObject::new()
and remove deprecated APIOption<Duration>
fromAnimationIter::delay_time()
SystemTime
instead ofDuration
forPixbufAnimation::iter()
andPixbufAnimationIter::advance()
transfer-none
return values in subclassing are staying alive long enough'static
&str
inFile::enumerate_children_async()
andenumerate_children_future()
NULL
debug assertion tofrom_glib_full()
and others for GObjectsValueArray
Value
traits manually because of the custom paramspecYuraIz:
ranfdev:
#[properties]
derive macroconstruct_cell
, too experimentalBoxed
impl Parse
forReceivedAttrs
PropertyGet
forT: HasParamSpec
v0.16.3
Compare Source
Aaron Erhardt:
Colin Walters:
g_cancellable_set_error_if_cancelled()
manually to workaround non-standard
GError
behaviourGuillaume Gomez:
Jason Francis:
Sebastian Dröge:
imp.instance()
toimp.obj()
ObjectSubclass::obj()
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.